package com.srlg.webflux.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

/**
 * @desc: 用户实体
 * @author: srlg li
 * @date: 2024/1/6 11:56
 */
@Table("t_author")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Author {

    @Id
    private Long id;

    private String name;
}
